package  org.fantasy.cpp.core.pojo;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import  org.fantasy.cpp.core.annotation.Field;

/**
 * 图表配置
 * 
 * @author 王文成
 * @version 1.0
 * @since 2011-7-5
 */
@Table("CHART_CONFIG")
public class ChartConfig{
	@Id 
	@Column("chart_id") 
	@Field(desc="图表id",nullable=false) 
	private Long chartId; 

	@Column("chart_type_id") 
	@Field(desc="图表类型id",nullable=false) 
	private Long chartTypeId; 

	@Column("chart_code") 
	@Field(desc="图表编码",nullable=true,maxlenth=128) 
	private String chartCode; 

	@Column("chart_name") 
	@Field(desc="图表名称",nullable=false,maxlenth=256) 
	private String chartName; 

	@Column("chart_desc") 
	@Field(desc="图表描述",nullable=true,maxlenth=1024) 
	private String chartDesc; 

	@Column("main_xml") 
	@Field(desc="总图表",nullable=true) 
	private String mainXml; 

	@Column("row_xml") 
	@Field(desc="行图表",nullable=true) 
	private String rowXml; 

	@Column("create_date") 
	@Field(desc="创建日期",nullable=false) 
	private java.util.Date createDate; 

	@Column("state") 
	@Field(desc="状态",nullable=false,maxlenth=8) 
	private String state;

	public Long getChartId() {
		return chartId;
	}

	public void setChartId(Long chartId) {
		this.chartId = chartId;
	}

	public Long getChartTypeId() {
		return chartTypeId;
	}

	public void setChartTypeId(Long chartTypeId) {
		this.chartTypeId = chartTypeId;
	}

	public String getChartCode() {
		return chartCode;
	}

	public void setChartCode(String chartCode) {
		this.chartCode = chartCode;
	}

	public String getChartName() {
		return chartName;
	}

	public void setChartName(String chartName) {
		this.chartName = chartName;
	}

	public String getChartDesc() {
		return chartDesc;
	}

	public void setChartDesc(String chartDesc) {
		this.chartDesc = chartDesc;
	}

	public String getMainXml() {
		return mainXml;
	}

	public void setMainXml(String mainXml) {
		this.mainXml = mainXml;
	}

	public String getRowXml() {
		return rowXml;
	}

	public void setRowXml(String rowXml) {
		this.rowXml = rowXml;
	}

	public java.util.Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	} 
}